/**
 * Created by Shinelon on 2017/12/25.
 */

$(function(){
    $(".standard-details").hide();
    $(".financia-details").hide();

    /*选项的按钮*/
    $(".all").on("click",function(){
        $(".all").css({"border-bottom":"0.09rem solid #ff5600","color":"#ff5600"});
        $(".new-standard, .optimizing-financia").css({"border-bottom":"0.09rem solid white","color":"#333333"});
        $(".invest").show();
        $(".standard-details").hide();
        $(".financia-details").hide();
    });

    $(".new-standard").on("click",function(){
        $(".new-standard").css({"border-bottom": "0.09rem solid #ff5600","color":"#ff5600"});
        $(".all, .optimizing-financia").css({"border-bottom":"0.09rem solid white","color":"#333333"});


        $(".standard-details").show();
        $(".invest").hide();
        $(".financia-details").hide();
        /*下划线*/

    });


    $(".optimizing-financia").on("click",function(){
        $(".optimizing-financia").css({"border-bottom":"0.09rem solid #ff5600","color":"#ff5600"});
        $(".new-standard, .all").css({"border-bottom":"0.09rem solid white","color":"#333333"});
        $(".financia-details").show();
        $(".invest").hide();
        $(".standard-details").hide();

    });






});
